import Vue from "vue";
import VueRouter from "vue-router";

Vue.use(VueRouter);

const routes = [
  {
    path: "comment",
    name: "comment",
    meta: [{ name: "评论管理" }],
    component: () => import("../views/operate/Comment.vue")
  },
  {
    path: "freight",
    name: "freight",
    meta: [{ name: "运费模板管理" }],
    component: () => import("../views/operate/Freight.vue")
  },
  {
    path: "indent",
    name: "indent",
    meta: [{ name: "订单管理" }],
    component: () => import("../views/operate/Indent.vue")
  }
];

export default routes;
